import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import { Message } from 'element-ui';
import * as echarts from 'echarts'
import mix from './utils/mix'
import api from './api';
Vue.prototype.$echarts = echarts;
Vue.prototype.$api = api;
Vue.prototype.$message = Message;
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.mixin(mix)

import './common.scss';
import "utils/rem.js" //我是在vue.config.js配置了快捷路径，按自己的路径来就好

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
